package com.hzyl.famousreader.view.activity;

import android.databinding.DataBindingUtil;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import com.alibaba.android.arouter.facade.annotation.Route;
import com.umeng.analytics.MobclickAgent;
import com.hzyl.famousreader.R;
import com.hzyl.famousreader.databinding.*;
/**
 * 偏好设置
 */
@Route(path = "/user/preference")
public class PreferenceActivity extends AppCompatActivity {

  private ActivityPreferenceBinding binding;

  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    binding = DataBindingUtil.setContentView(PreferenceActivity.this, R.layout.activity_preference);
  }

  @Override
  protected void onPause() {
    super.onPause();
    MobclickAgent.onPageEnd("偏好设置");
    MobclickAgent.onPause(this);
  }

  @Override
  protected void onResume() {
    super.onResume();
    MobclickAgent.onPageStart("偏好设置");
    MobclickAgent.onResume(this);
  }
}
